/**
 * @param {string} pattern
 * @param {string} s
 * @return {boolean}
 */
var wordPattern = function (pattern, s) {
  let arr = s.split(' '),res= true,re =[]
  for(let i=0;i<pattern.length;i++){
    if(re.length==0)re.push(pattern[i])
    else{
      if(re[re.length-1]==pattern[i]){
        
      }
    }
  }

  return res
};